import request from '@/common/request';
import upload from '@/common/upload';

/**
 * 上传文件
 * @param {*} path 
 */
export const uploadFile = (path) => {
    return upload('/file/formimage', path);
}

/**
 * 系统配置
 */
export const getShare = () => {
    return request('/index/share', 'GET', { client: 1 });
}